package com.zpphis.service.impl;

import com.zpphis.entity.Department;
import com.zpphis.mapper.DepartmentMapper;
import com.zpphis.service.IDepartmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zpp
 * @since 2022-11-22
 */
@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Department> implements IDepartmentService {

    @Autowired
    private DepartmentMapper departmentMapper;

    @Override
    public List<Map<String, Object>> listExtend() {
        return departmentMapper.listExtend();
    }
}
